<title>About this tool:</title>
This tool calculates the required Base resistor for an NPN transistor circuit that switches a load by an active high input signal. For this purpose the transistor must be fully saturated.

From the power supply (Uss) and the load resistor (Rl) the load current (Ic) is calculated. From the base current (Ib), which is also the current coming from the switching output (e.g. an I/O pin from a microcontroller) the minimum required gain (hfe, beta) is calculated. These values are then multiplied by a safety factor (1.5 or 2 for Ic and a factor of 5 – rule of thumb - for hfe) to get the recommended values. To find a suitable transistor those recommended values should be used.

The required base resistor (Rb) and pull down (Rbe) are calculated in a next step by the base current (Ib) and the switching voltage (Usw) minus the Base-Emitter voltage (Ube). The Base-Emitter voltage is usually in the range of 0.6 – 0.7V.

The power dissipation of the transistor (Pdiss, NPN) is calculated by using the actual Collector-Emitter (Uce) voltage of a selected transistor type. E.g. for the BC548 the Collector-Emitter saturation voltage is 0.6V at a collector current of 100mA and a Base current of 5mA.

The power dissipation of the Load (Pdiss, Load) is then calculated in the same manner.

<_image>Calc8_sub02_pic02.png</_image>

<_image>Calc8_sub02_pic03.png</_image>
